package demo;

public class Dog extends Animal{
//    public  String name;
//    public  int age;
//    public int foot;
//
//    public void eat(){
//        System.out.println("在吃饭...");
//    }
    public Dog(){
        super("大大",34);
    }

    public void bark(){

        System.out.println(name+"汪汪叫...");
    }

    public void wag(){

        System.out.println(name+"在摇尾巴...");
    }

}
